// Package epbanner
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2024 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.7
package epbanner

import (
	"hotgo/addons/hgexample/model/input/sysin"
	"hotgo/internal/model/input/form"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询轮播图列表
type ListReq struct {
	g.Meta `path:"/epBanner/list" method:"get" tags:"轮播图" summary:"获取轮播图列表"`
	sysin.EpBannerListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.EpBannerListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出轮播图列表
type ExportReq struct {
	g.Meta `path:"/epBanner/export" method:"get" tags:"轮播图" summary:"导出轮播图列表"`
	sysin.EpBannerListInp
}

type ExportRes struct{}

// ViewReq 获取轮播图指定信息
type ViewReq struct {
	g.Meta `path:"/epBanner/view" method:"get" tags:"轮播图" summary:"获取轮播图指定信息"`
	sysin.EpBannerViewInp
}

type ViewRes struct {
	*sysin.EpBannerViewModel
}

// EditReq 修改/新增轮播图
type EditReq struct {
	g.Meta `path:"/epBanner/edit" method:"post" tags:"轮播图" summary:"修改/新增轮播图"`
	sysin.EpBannerEditInp
}

type EditRes struct{}

// DeleteReq 删除轮播图
type DeleteReq struct {
	g.Meta `path:"/epBanner/delete" method:"post" tags:"轮播图" summary:"删除轮播图"`
	sysin.EpBannerDeleteInp
}

type DeleteRes struct{}

// MaxSortReq 获取轮播图最大排序
type MaxSortReq struct {
	g.Meta `path:"/epBanner/maxSort" method:"get" tags:"轮播图" summary:"获取轮播图最大排序"`
	sysin.EpBannerMaxSortInp
}

type MaxSortRes struct {
	*sysin.EpBannerMaxSortModel
}

// SwitchReq 更新轮播图开关状态
type SwitchReq struct {
	g.Meta `path:"/epBanner/switch" method:"post" tags:"轮播图" summary:"更新轮播图状态"`
	sysin.EpBannerSwitchInp
}

type SwitchRes struct{}